#pragma once

class CRectSelectUI;


class CMainFrame : public WindowImplBase
{
public:
	CMainFrame();
	~CMainFrame();

	void InitWindow();
	virtual void Notify(TNotifyUI& msg);
	virtual CControlUI* CreateControl(LPCTSTR pstrClass);

protected:
	virtual CDuiString GetSkinFile();
	virtual LPCTSTR GetWindowClassName() const;


public:
	void AddSingleSeatBox();
	void DeleteSelectedSeatBox();

private:
	void OnBtnClickMin(void*);
	void OnBtnClickClose();


private:
	CButtonUI* m_pBtnMin;
	CButtonUI* m_pBtnClose;
	CButtonUI* m_pBtnAddSeatBox;
	CButtonUI* m_pBtnDeleteSeatBox;

	CVerticalLayoutUI* m_pVLSeatBoxContainner;
	CRectSelectUI* m_pRectangleSelectUI;


private:
	DWORD m_dwSeatBoxCount;


};






